# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-localzone
pkgver=0.9.8
pkgrel=5
pkgdesc="simple library for managing DNS zones"
url="https://localzone.iomaestro.com"
options="!check" # No testsuite in pypi tarball
arch="noarch"
license="BSD-3-Clause"
depends="py3-dnspython"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/l/localzone/localzone-$pkgver.tar.gz"
builddir="$srcdir/localzone-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="912ee187f57dcb275d3c23d0b24397c12991d1c89e4c9931f4741e1d8ec76f8c41e0ab799150052062726921d5d92f8d98fa15d39fd5357032abc22dc1fe2afe  localzone-0.9.8.tar.gz"
